
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NgZorroAntdModule, NzMessageService } from 'ng-zorro-antd';
import { RouterModule } from '@angular/router';

import { EquipmentRoutes } from './equipment.routing.module';
import { EquipmentService } from './services/equipment';

import { EquipmentComponent } from './equipment.component';
import { ProductComponent } from './product/product.component';
import { ListComponent } from './list/list.component';
import { WarningComponent } from './warning/warning.component';
import { BindDeviceComponent } from './bind-device/bind-device.component';
import { CreateProductComponent } from './create-product/create-product.component';
import { UnboundedComponent } from './list/unbounded/unbounded.component';
import { BindedComponent } from './list/binded/binded.component';
import { CreateDeviceComponent } from './create-device/create-device.component';
import { DeviceProfileComponent } from './create-device/create-profile/device-profile.component';

@NgModule({
  imports: [
    CommonModule,
    NgZorroAntdModule,
    FormsModule,
    ReactiveFormsModule,
    RouterModule.forChild(EquipmentRoutes)
  ],
  declarations: [ProductComponent, ListComponent, WarningComponent, EquipmentComponent, BindDeviceComponent, CreateProductComponent, UnboundedComponent, BindedComponent, CreateDeviceComponent,DeviceProfileComponent],
  providers: [EquipmentService, NzMessageService]
})
export class EquipmentModule { }
